package org.particlethink.handler;

import org.particlethink.entry.PlanTyp;


public class PlanTypHandler extends BaseEnumHandler<PlanTyp> {
    public PlanTyp fromCode(int code) {
        switch (code) {
            case 1:
                return PlanTyp.Master;
            case 2:
                return PlanTyp.Batch;
//            case 3:
//                return PlanTyp.Order;
            case 4:
                return PlanTyp.Deliver;
        }
        return null;
    }
}
